package com.wx.chapter8.homework05;

/**
 * ClassName:Peasant
 * Package :com.wx.chapter8.homework05
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/5/29 - 16:15
 */
public class Peasant extends Employee{
    public Peasant(String name, double sal, int salMonth) {
        super(name, sal, salMonth);
    }

    @Override
    public void printSal() {
        System.out.println("农民");
        super.printSal();
    }
}
